form {
    position: relative;
    width: 100%;
    height: 40px;
}

form .mat-icon {
    position: absolute;
    top: 8px;
    left: 12px;
}

form input {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 8px 16px 8px 40px;
    outline: none;
    box-sizing: border-box;
    border: 1px solid #ccc;
}